package com.quectel.emp.constants;

/**
 * @author: rananxin
 * @email: ryan.ran@quectel.com
 * @date: 2019-04-04 11:22:00
 */
public class EmpRedisCacheConstants {

    public static final String PROJECT_NAME = "EMP_API:";


    public static final String CAPTCHA_ID = PROJECT_NAME + "CAPTCHA_ID:";

    /**
     * 验证码前缀
     */
    public static final String VER_CODE_PREFIX = PROJECT_NAME + "VER_CODE_PREFIX:";


    /**
     * 验证信息输错次数
     */
    public static final int WRONG_NUM = 5;

    /**
     * 验证信息输错次数锁定的秒数 默认一小时
     */
    public static final int WRONG_LOCK_SECOND = 1 * 60 * 60;

    /**
     * 错误输入锁定key
     */
    public static final String WRONG_INPUT = PROJECT_NAME + "WRONG_INPUT";


}
